package com.hl.shifangzhiyu.service.Impl;

import com.hl.shifangzhiyu.pojo.Regions;
import com.hl.shifangzhiyu.mapper.RegionsMapper;
import com.hl.shifangzhiyu.service.RegionsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.swing.plaf.synth.Region;
import java.util.List;
@Service
public class RegionsServiceImpl implements RegionsService {
    @Autowired
    private RegionsMapper regionsMapper;
    @Override
    public List<Regions> listAll() {

        return regionsMapper.listAll();
    }
}
